apimatic\jsonmapper\JsonMapper D

Total Complexity 304
Dependencies 11
Dependents 2
Total lines 1,844
Lines of code 1,033
Logical lines of code 533
Comment lines 620
Methods 44
Properties 9

Methods 44

Method Rating Maintainability Complexity Lines of code
isValueOfType()
D
39 35 50
inspectProperty()
C
35 26 82
getMappedValue()
C
35 24 91
createInstance()
B
35 19 92
map()
B
36 15 86
checkForType()
A
44 16 42
mapFor()
A
42 12 58
getType()
A
44 13 41
checkMappingsFor()
A
43 10 51
mapArray()
A
47 9 40
isSimpleType()
S
68 9 6
applyFactoryMethods()
S
50 7 30
__construct()
S
53 7 25
getDiscriminatorMatch()
S
55 7 19
getAdditionalPropertiesMethod()
S
51 6 31
getParameterType()
S
57 7 15
getFlatType()
S
55 6 21
mapClass()
S
50 5 30
isFlatType()
S
68 7 7
isAssociativeOrIndexed()
S
60 5 14
callFactoryWithErrorHandling()
S
56 4 19
mapClassArray()
S
56 4 19
checkMissingData()
S
59 4 15
getFullNamespace()
S
66 5 8
commentsDiscardedFor()
S
58 4 13
getDiscriminator()
S
60 3 14
parseAnnotations()
S
60 3 12
getChildClasses()
S
64 3 10
reflectionTypeToString()
S
66 3 9
getArrayTypeAndDimensions()
S
67 3 7
callFactoryMethod()
S
64 2 10
log()
S
73 2 5
isRegisteredType()
S
70 2 6
isObjectOfSameType()
S
71 2 6
setProperty()
S
69 2 7
formatType()
S
79 2 3
getMapByAnnotationFromParsed()
S
71 2 6
getMapAnnotationFromParsed()
S
71 2 6
checkTypeGroupFor()
S
68 2 7
getMapByAnnotation()
S
76 1 4
isNullable()
S
78 1 3
removeNullable()
S
70 1 6
getMapAnnotation()
S
76 1 4
setLogger()
S
81 1 3